Skip to content

Unused grid label logic#11

Merged
graycrawford merged 1 commit intogray/frame-body-drag-movesfrom
cursor/unused-grid-label-logic-c401
Mar 2, 2026
Merged

Unused grid label logic#11
graycrawford merged 1 commit intogray/frame-body-drag-movesfrom
cursor/unused-grid-label-logic-c401

Conversation

@graycrawford
Copy link
Copy Markdown
Collaborator

Removes dead code related to the didHitGridLabel property and its associated grid label hit-detection logic in PointingShape.ts. This code was no longer used after a previous change, resulting in unnecessary calculations and an unused Group2d import.

@cursor
Copy link
Copy Markdown

cursor Bot commented Mar 2, 2026

PR Summary

Low Risk
Low risk cleanup removing unused state and geometry hit-testing code from PointingShape with no functional additions.

Overview
Removes dead didHitGridLabel state and the associated grid-label hit-detection block in PointingShape.onEnter, and drops the now-unused Group2d import.

This avoids extra geometry work when pointing at shapes while keeping the selection/click flow unchanged.

Written by Cursor Bugbot for commit 5fa99b9. This will update automatically on new commits. Configure here.

@graycrawford graycrawford merged commit cdfc5fd into gray/frame-body-drag-moves Mar 2, 2026
3 of 7 checks passed
@cursor cursor Bot deleted the cursor/unused-grid-label-logic-c401 branch March 2, 2026 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants